namespace RentalService.Entities
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("HouseRecord")]
    public partial class HouseRecord:BaseEntity
    {
        [StringLength(200)]
        public string Id { get; set; }

        [Required]
        [StringLength(200)]
        public string landlordId { get; set; }

        [Required]
        [StringLength(200)]
        public string HouseId { get; set; }

        public DateTime? CreateTime { get; set; }

        public DateTime? EndTime { get; set; }

        public int HouseLength { get; set; }

        [StringLength(200)]
        public string Remarks { get; set; }

        public int IsDel { get; set; }
    }
}
